<%--
  Created by IntelliJ IDEA.
  User: 95184
  Date: 2023/03/02
  Time: 上午 11:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加</title>
</head>
<body>
<div align="center">
    <h3 align='center'>部门添加</h3>
    <div style="color: red; text-align:center ">${error}</div>
    <form action="/DeptServlet/add" method="post">
        <table border="1" cellspacing="0" width="400px">
            <tr>
                <td>部门名称：</td>
                <td><input type="text" name="deptName"></td>
            </tr>
            <tr>
                <td>部门位置：</td>
                <td><input type="text" name="loc"></td>
            </tr>
            <tr align='center'>
                <td colspan="2"><input type="submit" value="添加"></td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
